package com.glsc.ngateway.ldap.xxljob;

import com.glsc.ngateway.ldap.schedule.ScheduledJobs;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class XxlJob {

    @Resource
    private ScheduledJobs scheduledJobs;
    
    @com.xxl.job.core.handler.annotation.XxlJob("XxlJob_syncEhrDataTask")
    public void syncEhrDataTask() {
        scheduledJobs.syncEhrDataTask();
    }

}
